const path =  require('path')
function resolve(dir) {
    return path.join(__dirname, dir)
}

module.exports = defineConfig({
  lintOnSave:false,//关闭eslint(关闭语法检查)

  configureWebpack:{
    resolve:{
        alias:{
            "@":resolve('src'),//目录的映射
            "@a":resolve('src/assets'),//
            "@c":resolve('src/components'),
            "@p":resolve('src/pages')
        }
    }
  },
})
